using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NodeBasedSkillEditor.Model.Node
{
    [Node(Category = DAGHelper.CateName_MathLogic, Name = "Bitwise XOR ⊕", SearchTag = "^!=")]
    public class Node_BitwiseExclusiveOr : NodeData
    {
        [Port(IOType = EPortIOType.Input)]
        public IntegerPort Value1 = new IntegerPort();

        [Port(IOType = EPortIOType.Input)]
        public IntegerPort Value2 = new IntegerPort();

        [Port(IOType = EPortIOType.Output)]
        public IntegerPort Result = new IntegerPort();

        public override RT_Node BuildRuntimeNode(RT_DAG parentDAG)
        {
            return new RT.Node_BitwiseExclusiveOr_RT(this, parentDAG);
        }
    }
}
